home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / scott / WWW / NextStep / Implementation / HyperAccess.h < prev    next >
Text File  |  1993-02-01  |  1KB  |  61 lines

  1. //    A HyperAccess object provides access to hyperinformation, using particular
  2. //    protocols and data format transformations.
  3.  
  4. // History:
  5. //    26 Sep 90    Written TBL
  6.  
  7. #import <objc/Object.h>
  8. #import <objc/List.h>
  9. #import "HyperText.h"
  10. #import "HTAnchor.h"
  11.  
  12. @interface HyperAccess:Object
  13.  
  14. //    Target variables for interface builder hookups:
  15.  
  16. {
  17.     id  openString;
  18.     id    keywords;
  19.     id    titleString;
  20.     id    addressString;
  21.     id    contentSearch;
  22.     
  23. }
  24.  
  25. //    Interface builder initialisation methods:
  26.  
  27. - setOpenString:anObject;
  28. - setKeywords:anObject;
  29. - setTitleString:anObject;
  30. - setAddressString:anObject;
  31. - setContentSearch:anObject;
  32.  
  33. //    Action methods for buttons etc:
  34.  
  35. - search:sender;
  36. - searchRTF: sender;
  37. - searchSGML: sender;
  38.  
  39. - open: sender;
  40. - openRTF:sender;
  41. - openSGML:sender;
  42. - saveNode:(HyperText *)aText;
  43.  
  44. //    Calls form other code:
  45.  
  46. - (const char *)name;                // Name for this access method
  47. - loadAnchor:(HTAnchor *)a;            // Loads an anchor.
  48. - loadAnchor:(HTAnchor *)a Diagnostic:(int)level ;// Loads an anchor.
  49.  
  50. //    Text delegate methods:
  51.  
  52. - textDidChange:textObject;
  53. - (BOOL)textWillChange:textObject;
  54.  
  55. //    HyperText delegate methods:
  56.  
  57. - hyperTextDidBecomeMain:sender;
  58.  
  59.  
  60. @end
  61.